var app = angular.module("myApp", []);

app.controller("cusCtrl", function($scope, $http){
    $http.jsonp("http://localhost:3000/test").success(function(res){
        $scope.items = res.message;
    }).error(function(data, status){
        alert(status + " : " + data);
    });
});